﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class NPC : Publicinfo
    {
        public NPC(string name) : base(name)
        {
            this.Name = name;
        }
        public override int fist()
        {
            Random r = new Random();
            int a = r.Next(3) + 1;

            return a;
        }


    }
}
